package com.coderknock.homework.ioc.exception;

/**
 * <p></p>
 *
 * @author 三产
 * @version 1.0
 * @date 2017-06-18
 * @QQGroup 213732117
 * @website http://www.coderknock.com
 * @copyright Copyright 2017 拿客 coderknock.com  All rights reserved.
 * @since JDK 1.8
 */
public class NotFindBeanException extends RuntimeException {
    public NotFindBeanException(String name, Class clazz) {
        super("没有找到 name 为 " + name + " 或者 Class 为 " + clazz + " 的 Bean ");
    }
    public NotFindBeanException(String name) {
        super("没有找到 name 为 " + name + " 的 Bean ");
    }

    public NotFindBeanException(Class clazz) {
        super("没有找到 Class 为 " + clazz + " 的 Bean ");
    }
}
